package com.ddwl.user.dao.model;

import com.ddwl.common.dao.model.BaseModel;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Table;

@Setter
@Getter
@Table(name = "sys_role_grant")
public class RoleGrant extends BaseModel {

    /**
     * 角色ID
     */
    private String roleId;
    /**
     * 授权ID
     */
    private String grantId;

    /**
     * 类型 0 菜单 1权限
     */
    private Integer type;
}
